//
//  HomeGoodsDetailHeaderModel.h
//  FD
//
//  Created by Yasin on 2018/10/20.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HomeGoodsDetailHeaderModel : NSObject
/**1.图片*/
@property (nonatomic, copy) NSString *thumbnail;
/**4.商品id*/
@property (nonatomic, strong) NSNumber *goodsId;
/**5.描述*/
@property (nonatomic, copy) NSString *title;



//11-29返回数据结构有变,需要单独处理 
/**2.原价*/
@property (nonatomic, strong) NSNumber *originalPrice;
/**3.现价*/
@property (nonatomic, strong) NSNumber *currentPrice;

/**2019-1-17需要加上默认价格用于取值*/
@property (nonatomic, strong) NSArray *ingredientClassifyList;
/**默认选中的值 最终页面最后一次展示的时候需要加上 (currentPrice + defaultSelectPrice)*/
@property (nonatomic) NSNumber *defaultSelectPrice;
@end

//数据源
/**
 {"event":"SUCCESS","data":{"timeLimit":0,"quietTime":"00:00:00","thumbnail":"public/96e9c70ad3494c35a5064777e85b126f","originalPrice":35.00,"ingredientClassifyList":[{"name":"测试分类1","only":1,"ingredientList":[{"originalPrice":22.00,"name":"测试配料1","currentPrice":22.00,"id":968},{"originalPrice":11.00,"name":"测试配料2","currentPrice":11.00,"id":969},{"originalPrice":4.00,"name":"测试配料3","currentPrice":4.00,"id":970}],"defaultSelect":970,"id":15,"free":0,"required":1},{"name":"测试分类2","only":0,"ingredientList":[{"originalPrice":1.00,"name":"测试配料2","currentPrice":1.00,"id":971},{"originalPrice":2.00,"name":"111","currentPrice":2.00,"id":972},{"originalPrice":3.00,"name":"人人","currentPrice":3.00,"id":973}],"defaultSelect":-1,"id":16,"free":2,"required":0},{"name":"Toppings","only":0,"ingredientList":[{"originalPrice":12.00,"name":"Chicken Strips","currentPrice":12.00,"id":974},{"originalPrice":123.00,"name":"Tandoori Chicken","currentPrice":123.00,"id":975},{"originalPrice":324.00,"name":"Pepperoni","currentPrice":324.00,"id":976},{"originalPrice":3.00,"name":"Pineapple","currentPrice":3.00,"id":977},{"originalPrice":234.00,"name":"Olives","currentPrice":234.00,"id":978}],"defaultSelect":-1,"id":2,"free":2,"required":0}],"activeTime":"00:00:00","currentPrice":33.00,"onSale":1,"richtext":"public/4749cf8f748a491aae96e7c0eb750a64","id":198,"title":"李兵专用"},"describe":""}
 */




